﻿@model MvcAtletIS.Models.Webcontacts

@{
    ViewBag.Title = "Kontakty";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Zobraziť kontakt</h2>

<fieldset>
    <legend>Detaily</legend>

    <img src="@Url.Content("~/Content/contacts/" + Model.ImagePath)" alt="AtletIS" class="contact-image" />

    <div class="display-label">
        @Html.LabelFor(model => model.Firstname)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Firstname)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Surname)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Surname)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Position)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Position)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.City)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.City)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Adress)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Adress)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Email)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Phone)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Phone)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Other)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Other)
    </div>

</fieldset>

<p>
    @Html.ActionLink("Naspäť na prehľad kontaktov", "Index", new { CategoryId = Model.CategoryId })
</p>
